package com.youku.mson.util;

public class Assert {

	public static void notNull(Object object) {
		notNull("不能为null", object);
	}

	public static void notNull(String message, Object object) {
		if (object == null) {
			throw new IllegalArgumentException(message);
		}
	}

}
